<%@page import="java.sql.ResultSet, database.DBConnector"%>

<%
            String make = request.getParameter("req");
            DBConnector dbc = DBConnector.getDBC();
            ResultSet rs1 = dbc.doQuery("SELECT DISTINCT ModelID FROM Cars WHERE MakeID = '" + make + "';");
            while (rs1.next()) {
                {
                    out.println("<option>" + rs1.getString(1) + "</option>");
                }
            }
%>
